package com.nd.pojo.vo.wx;

import com.nd.Utils.WhatOption;
import com.nd.pojo.bean.OrderGoods;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @Description:
 * @author: Aaron
 * @create: 2021-06-08 09:20
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WxOrderDetailVO {
    private InfoChild orderInfo;
    private List<OrderGoods> orderGoods;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class InfoChild {
        private String consignee;
        private String address;
        private Date addTime;
        private String orderSn;
        private BigDecimal actualPrice;
        private String mobile;
        private String orderStatusText;
        private BigDecimal goodsPrice;//折扣前价格
        private BigDecimal couponPrice;//优惠价格
        private Integer id;
        private BigDecimal freightPrice;//配送费
        private boolean isGroupin;
        private WhatOption handleOption;
        private String expCode;//快递公司
        private String expNo;//快递编号
    }
}
